package com.tadpole.music.bean.question;

import java.io.Serializable;
import java.util.List;

/**
 * Created By 孙岩
 * on 2020/9/15
 */
public class UniversityBean  implements Serializable{

    /**
     * code : 200
     * data : [{"id":1,"name":"中央音乐学院","college_functions":[{"id":1,"name":"模拟练习","thumb":"7fe89d95-8324-40b9-b706-f3c07d249997"},{"id":2,"name":"实战真题","thumb":"c226878a-ff38-4e54-b36b-bfffea272387"},{"id":3,"name":"重点知识","thumb":"e74667e0-a764-4e78-a7ea-3fc3b98d67c8"},{"id":4,"name":"乐谱下载","thumb":"ec4b466b-f8d7-4b3a-86cf-d3b5e80504ba"},{"id":5,"name":"在线套题","thumb":"f6e9210a-843a-4572-be1c-0d4c76c8d19e"}]},{"id":2,"name":"中国音乐学院"},{"id":3,"name":"中国民族管弦乐学会"}]
     * msg : success
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean  implements Serializable {
        /**
         * id : 1
         * name : 中央音乐学院
         * college_functions : [{"id":1,"name":"模拟练习","thumb":"7fe89d95-8324-40b9-b706-f3c07d249997"},{"id":2,"name":"实战真题","thumb":"c226878a-ff38-4e54-b36b-bfffea272387"},{"id":3,"name":"重点知识","thumb":"e74667e0-a764-4e78-a7ea-3fc3b98d67c8"},{"id":4,"name":"乐谱下载","thumb":"ec4b466b-f8d7-4b3a-86cf-d3b5e80504ba"},{"id":5,"name":"在线套题","thumb":"f6e9210a-843a-4572-be1c-0d4c76c8d19e"}]
         */

        private int id;
        private String name;
        private String chief;
        private String short_name;
        private List<CollegeFunctionsBean> college_functions;
        private boolean select;

        public boolean isSelect() {
            return select;
        }

        public void setSelect(boolean select) {
            this.select = select;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    ", college_functions=" + college_functions +
                    '}';
        }

        public DataBean(int id, String name,String chief,String short_name, List<CollegeFunctionsBean> college_functions) {
            this.id = id;
            this.name = name;
            this.chief = chief;
            this.short_name = short_name;
            this.college_functions = college_functions;
        }

        public String getChief() {
            return chief;
        }

        public void setChief(String chief) {
            this.chief = chief;
        }

        public String getShort_name() {
            return short_name;
        }

        public void setShort_name(String short_name) {
            this.short_name = short_name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<CollegeFunctionsBean> getCollege_functions() {
            return college_functions;
        }

        public void setCollege_functions(List<CollegeFunctionsBean> college_functions) {
            this.college_functions = college_functions;
        }

        public static class CollegeFunctionsBean  implements Serializable{
            /**
             * id : 1
             * name : 模拟练习
             * thumb : 7fe89d95-8324-40b9-b706-f3c07d249997
             */

            private int id;
            private String name;
            private String thumb;

            public CollegeFunctionsBean(int id, String name, String thumb) {
                this.id = id;
                this.name = name;
                this.thumb = thumb;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }
        }
    }
}
